<html>
<head>
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/css/tdm.css" rel="stylesheet">
</head>

<body>
<h1>教学点信息</h1>

{% if errors %}
<ul>
{% for error in errors %}
<li>{{error}}</li>
{% endfor %}
</ul>
{% endif %}

<form action="/admin/jxd" method="post">
{% csrf_token %}
<table border='0' cellspacing='0' cellpadding='0'>
    <tr>
        <th>&nbsp;</th>
        <th>市地</th>
        <th>教学点</th>
    </tr>
{% for shi,jxd in jxd_list %}
<tr>
    <td><input type="checkbox" name="jxd_del" value="{{shi}}.{{jxd}}"></input></td>
    <td>{{shi}}</td>
    <td>{{jxd}}</td>
</tr>
{% endfor %}
</table>
<input type="submit" name="op" value="del"></input>
<br/><br/>

<table class="table table-striped">
<tr><th>市地</th><td><input type="text" name="shi"></td></tr>
<tr><th>教学点</th><td><input type="text" name="jxd"></td></tr>
</table>
<input type="submit" name="op" value="add"></input>
</form>

<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
</body>
</html>
